package com.wei.web.middleware.retry.compensate.dataobject;


import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import lombok.experimental.Accessors;

/**
 * @mbg.generated 表名: t_mq_compensation
 * @date 2021/04/26
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode()
@ToString(callSuper = true)
public class MqCompensationDO  {
    private String id;

    /**
     * @mbg.generated
     * 唯一标识
     * 表字段: uniqueKey
     */
    private String uniqueKey;

    /**
     * 需要重复次数
     */
    private Integer timesRequired;

    /**
     * @mbg.generated
     * 已重试次数
     * 表字段: retry_time
     */
    private Integer retryTime;

    /**
     * @mbg.generated
     * 参数
     * 表字段: param
     */
    private String param;

    /**
     * @mbg.generated
     * 调用类
     * 表字段: call_class
     */
    private String callClass;

    /**
     * @mbg.generated
     * 是否成功
     * 表字段: success
     */
    private Boolean success;

    private Boolean suspended;

    /**
     * @mbg.generated
     * 是否预发
     * 表字段: is_pre
     */
    private Boolean isPre;

}
